"""
demo
"""
import pandas as pd
from pycaret.classification import setup, compare_models


csv_file = '../../datasets/diabetes.csv'
diabetes = pd.read_csv(csv_file)

# import model & initializing setup
exp_name = setup(diabetes, target=diabetes.columns[-1])

# best
best = compare_models(sort='Accuracy')
print('*' * 30)
print(best)
raise Exception

# top 3
top3 = compare_models(sort='Accuracy', n_select=3)

print(best)
print(top3)

